// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  srcDir: 'src/',
  ssr: true,
  devtools: { enabled: true },
  modules: ['@nuxtjs/i18n'],
  i18n: {
    strategy: 'no_prefix',
    locales: [
      { code: 'en', name: 'English', file: 'en.json' },
      { code: 'zhCN', name: '简体中文', file: 'zh-CN.json' },
      { code: 'zhHK', name: '繁體中文', file: 'zh-HK.json' }
    ],
    defaultLocale: 'zhCN'
  }
})
